#include "progressBar.h"
#include <unistd.h>



void downl()
{
    int a = 1000;
    int cnt = 0;
    while(cnt <= a)
    {
        int pro = cnt * 100 / a;
        PrintPBar(pro);
        usleep(10000);
        cnt += 10;
    }
    printf("\n");
}

int main()
{
    downl();
    return 0;
}
